<table class="table table-hover table-bordered">
    <thead>
        <tr>
            <th colspan="12" style="font-size:20px;">表1-1-1 工程项目报价汇总表</th>
        </tr>
        <tr>
            <th>序号</th>
            <th>内容</th>
            <th>报价（元）</th>
            <th>至上期累计完成工程量（元）</th>
            <th>至本期累计完成百分比</th>
            <th>本期完成百分比</th>
            <th>本期完成（元）</th>
            <th>监理审核（元）</th>
        </tr>
    </thead>
    <tbody>
    <foreach name="results" item="vo">
        <tr>
            <td class="text-center">
                <if condition="stripos($vo['order_id'],'总报价') nheq false">
                    总报价<br/>(大写)
                    <else/>
                    {$vo.order_id}
                </if>
            </td>
            <if condition="stripos($vo['order_id'],'总报价') nheq false" >
                <td colspan="6" class="text-center">{$vo.item_name}</td>
                <td>元整</td>
            <else/>
                <td>{$vo.item_name}</td>
                <td>{$vo.list_total_amount}</td>
                <td>{$vo.last_approved_accumulated_amount}</td>
                <td>
                    <if condition="$vo['list_total_amount'] eq ''" >
                        <else/>
                        <php>
                            echo round($vo['cumulative_completion_percent']*100,2)
                        </php>%
                    </if>
                </td>
                <td>
                    <if condition="$vo['list_total_amount'] eq ''" >
                        <else/>
                        <php>
                            echo round($vo['report_amount_percent']*100,2)
                        </php>%
                    </if>
                </td>
                <td>{$vo.report_construction_amount}</td>
                <td>{$vo.approved_total_amount}</td>
            </if>
        </tr>
    </foreach>
    </tbody>            
</table>